package pl.edu.agh.student.vrp.utils;

import org.jgap.Chromosome;
import org.jgap.Gene;
import org.jgap.IChromosome;

/**
 * Created by IntelliJ IDEA.
 * User: Krzysiek
 * Date: 14.11.11
 * Time: 18:42
 * To change this template use File | Settings | File Templates.
 */
public class DisplayUtils {
    public static void displayChromosome(IChromosome chromosome) {
        for (Gene g : chromosome.getGenes())
            System.out.printf("%d ", g.getAllele());
        System.out.println();
    }
}
